package com.luo.chengrui.module.sa.controller.admin.role.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;

import com.alibaba.excel.annotation.ExcelProperty;
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;


/**
 * 角色  Excel VO
 *
 * @author 诚睿
 */
@Data
public class RoleExcelVO {

    @ExcelProperty("ID")
    private String id;

    @ExcelProperty("角色类型")
    private String roleKindId;

    @ExcelProperty("编码")
    private String code;

    @ExcelProperty("名称")
    private String name;

    @ExcelProperty("描述")
    private String description;

    @ExcelProperty(value = "1 启用 0 禁用", converter = DictConvert.class)
    @DictFormat("common_status") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private Integer status;

    @ExcelProperty("排序号")
    private Integer sequence;

    @ExcelProperty("创建日期")
    private LocalDateTime createTime;

    @ExcelProperty("更新日期")
    private LocalDateTime updateTime;

}
